package com.sz.springboot_jpa.service;

import com.sz.springboot_jpa.entity.Category;

import java.util.List;

public interface CategoryService {
    List<Category> findAll();

    List<Category> findByParent(Integer parent);
}
